Skip to content

Conversation

NBronina
Copy link

Не поняла, на что ругается http://jslint.com/

Создание объекта. Есть ошибки при проверке в http://jslint.com/
@azproduction
Copy link
Member

На Unexpected 'typeof'. Use '===' to compare directly with undefined. можно не обращать вимание - эту проверку никак не отключить.

* @return {Object}
*/
/*jslint browser: true, devel: true */
function Event(name, start, end, participants, organizer, place, info, reminder, type) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Функция имеет слишком много параметров подумай как можно уменьшить их число.

изменен тип поля "reminder", добавлено поле "party" для подтверждения
участия в событии
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants